package com.xuzao.developer.annotation;

import java.lang.annotation.*;

/**
 * excel导出列号注解
 * @author wangyt
 * @version 1.0 created 2018/8/28
 */
@Inherited
@Target({ElementType.FIELD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ColumnNumberAnnotation {

    /**
     * 导出顺序号
     *
     * @author wangyt created 2018/8/28
     * @return int
     */
    int exportOrderNum() default -1;

    /**
     * 导入顺序号
     *
     * @author wangyt created 2018/9/4
     * @return int
     */
    int importOrderNum() default -1;

    /**
     * 字段名称
     *
     * @author wangyt created 2018/9/4
     * @return str
     */
    String fieldName() default "";
}
